package cc.git.liuyan.customeraiagent.core.embeddingmodel;

import lombok.Data;

@Data
public class EmbeddingModelInputData<T> {
    // string/pdf/txt/doc/docx/mysql/remark
    private String type;
    //string/url
    private String inputData;
    private T otherData;

    public EmbeddingModelInputData(String inputData) {
        this.type = "string";
        this.inputData = inputData;
    }

    public EmbeddingModelInputData(String type, String inputData) {
        this.type = type;
        this.inputData = inputData;
    }

    public EmbeddingModelInputData(String type, String inputData, T otherData) {
        this.type = type;
        this.inputData = inputData;
        this.otherData = otherData;
    }
}
